package com.yunshang.shoppingmall.service;

import com.yunshang.shoppingmall.entity.ProductGuiGe;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProductGuiGeService {
    int deleteByPrimaryKey(Integer gId);
    //增加规格
    int insert(ProductGuiGe productGuiGe);

    int insertSelective(ProductGuiGe record);

    ProductGuiGe selectByPrimaryKey(Integer gId);

    int updateByPrimaryKeySelective(ProductGuiGe record);

    int updateByPrimaryKey(ProductGuiGe record);
    //根据商品id查询所有的规格
    List<ProductGuiGe>  selectGuigeListByProductId(Integer productId);
}
